package pojo;

/**
 * OnlineUser entity. @author MyEclipse Persistence Tools
 */

public class OnlineUser implements java.io.Serializable {

	// Fields
    private OnlineUserId id;
	private User user;

	// Constructors

	/** default constructor */
	public OnlineUser() {
	}

    /** minimal constructor */
	
  
	/** full constructor */
	public OnlineUser(User user,OnlineUserId id) {
		this.id=id;
		this.user=user;
	}

	// Property accessors
	
	

	public User getUser() {
		return user;
	}

	public OnlineUserId getId() {
		return id;
	}

	public void setId(OnlineUserId id) {
		this.id = id;
	}

	public void setUser(User user) {
		this.user = user;
	}

	

	
}